package com.upb.webserver.dao.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
public class TbMessageRecipient implements Serializable {

    public TbMessageRecipient(byte platform, int recipient, Byte status) {
        this.platform = platform;
        this.recipient = recipient;
        this.status = status;
    }

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.message_id
     *
     * @mbg.generated
     */
    private Integer messageId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.recipient
     *
     * @mbg.generated
     */
    private Integer recipient;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.status
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.platform
     *
     * @mbg.generated
     */
    private Byte platform;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.gmt_create
     *
     * @mbg.generated
     */
    private Date gmtCreate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_message_recipient.gmt_modified
     *
     * @mbg.generated
     */
    private Date gmtModified;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tb_message_recipient
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;
}
